package com.kingdee.eas.qx.facade;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class QXFacadeFactory
{
    private QXFacadeFactory()
    {
    }
    public static com.kingdee.eas.qx.facade.IQXFacade getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.qx.facade.IQXFacade)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("90B766B3") ,com.kingdee.eas.qx.facade.IQXFacade.class);
    }
    
    public static com.kingdee.eas.qx.facade.IQXFacade getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.qx.facade.IQXFacade)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("90B766B3") ,com.kingdee.eas.qx.facade.IQXFacade.class, objectCtx);
    }
    public static com.kingdee.eas.qx.facade.IQXFacade getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.qx.facade.IQXFacade)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("90B766B3"));
    }
    public static com.kingdee.eas.qx.facade.IQXFacade getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.qx.facade.IQXFacade)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("90B766B3"));
    }
}